Submitted by Kenton Larsen
(This was fun!).